package com.rogue.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.rogue.system.domain.dto.RoleDTO;
import com.rogue.system.domain.entity.SysRole;
import com.rogue.system.domain.vo.MenuVo;
import java.util.List;

/**
* @author Yeah
* @description 针对表【hs_role(用户角色表)】的数据库操作Service
* @createDate 2022-03-16 14:20:29
*/
public interface SysRoleService extends IService<SysRole> {

    Boolean setMenuForRole(RoleDTO roleDTO);

    Boolean removeRole(Long id);

    PageInfo<SysRole> listRole(RoleDTO sysRole);

    SysRole getByUserId(Long id);

    List<MenuVo> getMenuByRoleId(Long id);
}
